interface T {
    [key: string]: number
}

type X = Omit<T, never>

let x!: X

for (let n in x) {
    console.log(x[n])
}

class MyClass implements T {
    [key: string]: any

    a = 'false'
    static x = 100
}
